<?php
/**
 *
 * @category   babel 
 * @package    BABEL
 * @copyright  2008 Team babel
 * @license    LGPL
 */


$lang = (int)$_GET["lang"];
$str = json_encode(array(
	"ok" => true,
	"lang_id" => $lang,
	"lang_skill" => (int)$_SESSION["user"]["profile"]["language"][$lang],
));
header('X-JSON: ('.$str.')');
echo $str;

